package linter.POJO.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 课程与课程笔记关系表
 * @TableName class_noteclass_relation
 */
@TableName(value ="class_noteclass_relation")
@Data
public class ClassNoteclassRelation implements Serializable {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 课程ID
     */
    private Integer classId;

    /**
     * 笔记ID
     */
    private Long noteId;

    /**
     * 节点
     */
    private Integer node;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
